package com.zhijian.medical.entity.po;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 职工体检档案
 * @author Auto Generator
 * @date 2024-11-14 14:30:08
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "职工体检档案")
public class EmployeePhysicalRecord {
    /**
     * 主键id
     */
    @ApiModelProperty("主键id")
    private Long id;

    /**
     * 关联用户 id
     */
    @ApiModelProperty("关联用户 id")
    @NotNull(message = "关联用户 id不能为空")
    private Long personId;

    /**
     * 专业组
     */
    @ApiModelProperty("专业组")
    @NotBlank(message = "专业组不能为空")
    private String personGroup;

    /**
     * 姓名
     */
    @ApiModelProperty("姓名")
    @NotBlank(message = "姓名不能为空")
    private String personName;

    /**
     * 性别
     */
    @ApiModelProperty("性别")
    @NotBlank(message = "性别不能为空")
    private String personGender;

    /**
     * create_time
     */
    @ApiModelProperty("create_time")
    private Date createTime;

    /**
     * update_time
     */
    @ApiModelProperty("update_time")
    private Date updateTime;

    /**
     * 体检时间
     */
    @ApiModelProperty("体检时间")
    private String physicalTime;

    /**
     * 健康状态
     */
    @ApiModelProperty("健康状态")
    private String health;

    /**
     * 档案存放
     */
    @ApiModelProperty("档案存放")
    private String record;
}